﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>System management</title>
    <link rel="stylesheet" type="text/css" href="weblib/jquery.easyui/themes/default/easyui.css" />
	<link rel="stylesheet" type="text/css" href="weblib/jquery.easyui/themes/icon.css" />
	<link href="weblib/skins/main.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="weblib/jquery/jquery-1.8.0.min.js"></script>
    <script src="weblib/jquery.easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="webjs/core/config.js" type="text/javascript"></script>
    <script src="weblib/jquery/jquery.adaptor.js" type="text/javascript"></script>
    <script src="webjs/core/index.js" type="text/javascript"></script>
  <script type="text/javascript">
    
      var language = $.cookie('_language_');
      if (language == null || language == '') {
          document.write("<script src='Language/sys_language/zh.js'><\/script>");
          document.write("<script>document.title='系统管理';<\/script>");
      }
      else if (Number(language) == 1) {
          document.write("<script src='Language/sys_language/zh.js'><\/script>");
          document.write("<script>document.title='系统管理';<\/script>");
      }
      else if (Number(language) == 0) {
          document.write("<script src='Language/sys_language/en.js'><\/script>");
          document.write("<script>document.title='EPD_SM';<\/script>");
      }

      document.write("<script src='webjs/core/index.js'><\/script>");

      function updateSession() {

          $.post("Views/DataSearch/serchHead.aspx", { updateSession: "1" });
          $.post(App_Config.TadongUrl + "/LoginAuth.aspx", { updateSession: "1" });

      }
      setInterval("updateSession()", 1000 * 60);

     
   </script>   

</head>
<body class="easyui-layout">
	<div data-options="region:'north',border:false" class="topbg" style="height:84px"><div class="logo"></div>
    
    <div>
    <div id="rightinfo">
    
     <div class="top_right_user" style="display:none;">
        <div class="welcome">欢迎您：<span id="userID">99999</span></div>
        <div class="currenttime">
        <span id="top_time_Y"></span>
        <span id="top_time_MH"></span>
        <span id="top_time_TD"></span>
        <span id="top_time_H" style="padding:0;margin:0;"></span>:
        <span id="top_time_M" style="padding:0;margin:0;"></span>:
        <span id="top_time_S" style="padding:0;margin:0;"></span>
        </div>
     </div> 
     <div class="top_right_exit"><span title="" onclick="logout();"></span></div>
    </div>
    </div>
    </div>
	<div data-options="region:'west',split:false,title:'',border:true,collapsible:false" style="width:150px;padding:0px;">
       
        <div id="menu_list">

        </div>
    </div>
	<div data-options="region:'center',border:false">
    <div id="tabs" class="easyui-tabs" data-options="fit:'true',border:'false'"></div>
    </div>
</body>
<script type="text/javascript">


    $(function () {
        var pagename = "System_Management";
//        var obj = new ActiveXObject("rcbdyctl.Setting");
//        IP = obj.GetIPAddress;
//        $.ajaxHandler({
//            url: App_Config.TadongUrl + "/AjaxMappingHandler.aspx",
//            urlType: "WriteLogScanPage",
//            model: function () { return $.toJSON({ 'pageName': pagename, 'ip': IP}); },
//            success: function (data) {

//            }
        //        });
        // 查看文件是否存在
        $.post('Handlers/XmkLogScan.aspx?pageName=' + pagename,
                        {},
                        function (data) {
                        });
        setInterval(showTime, 200000);
        setInterval(showTime, 200000);
        bindmenu();
        $('#userID').bind('click', function () { addTab('userinfo', '个人信息', 'main.html?p=basesys|usermanage') });

    });
</script>
</html>

